package com.pingan.pastry.validator;


import com.pingan.pastry.common.exception.ValidatorException;

public interface Validator {

    /**
     * 接口调用方法
     *
     * @param value
     */
    void validate(Object value) throws ValidatorException;

    void setMessage(String message);
}
